import Vue from 'vue'
import Router from 'vue-router'
import index from "../components/index/index.vue"
import detail from "../components/detail/detail_index.vue"
import shop from "../components/shop/shop.vue"
import shop_detail from "../components/shop/shop_detail.vue"
import car from "../components/car/car.vue"
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      component: index
    },
    {
      path:'/sport',
      component:detail
    },
    {
      path:'/soldier',
      component:detail
    },
    {
      path:'/news',
      component:detail
    },
    {
      path:'/money',
      component:detail
    },
    {
      path:'/happy',
      component:detail
    },
    {
      path:'/nba',
      component:detail
    },
    {
      path:'/sci',
      component:detail
    },
    {
      path:'/more',
      component:detail
    },
    {
      path:'/app',
      component:detail
    },
    {
      path:'/xz',
      component:detail
    },
    {
      path:'/shop',
      component:shop
    },
    {
      path:'/shop_detail',
      component:shop_detail
    },
    {
      path:"/car",
      component:car
    }
  ]
})
